/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.mam.rbac.application.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @description
 * 
 * @author rening
 * @version v1.0
 * 
 * @2013-6-8
 * 
 */
@XmlRootElement(name = "userVO")
@XmlAccessorType(XmlAccessType.FIELD)
public class UserVO implements Serializable
{

	// private String token = UUID.randomUUID().toString();
	private static final long serialVersionUID = -7782946800895576970L;

	private String id;

	private String username;

	private String name;

	private String sex;

	private String address;

	private String telephone;

	private String password;

	private String status;

	private List<RoleVO> roles;

	private String lockOperation;

	private String lockStatus;

	private String[] roleIds;
	// add by lizhifeng
	private Date createAt;// 用户创建时间

	/**
	 * @return the id
	 */
	public String getId()
	{
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id)
	{
		this.id = id;
	}

	/**
	 * @return the username
	 */
	public String getUsername()
	{
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username)
	{
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword()
	{
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password)
	{
		this.password = password;
	}

	public List<RoleVO> getRoles()
	{
		return roles;
	}

	public void setRoles(List<RoleVO> roles)
	{
		this.roles = roles;
	}

	public String getStatus()
	{
		return status;
	}

	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getSex()
	{
		return sex;
	}

	public void setSex(String sex)
	{
		this.sex = sex;
	}

	/**
	 * @return the token
	 */
	// public String getToken() {
	// return token;
	// }

	/**
	 * @param token
	 *            the token to set
	 */
	// public void setToken(String token) {
	// this.token = token;
	// }

	/**
	 * @return the lockOperation
	 */
	public String getLockOperation()
	{
		return lockOperation;
	}

	/**
	 * @param lockOperation
	 *            the lockOperation to set
	 */
	public void setLockOperation(String lockOperation)
	{
		this.lockOperation = lockOperation;
	}

	/**
	 * @return the roleIds
	 */
	public String[] getRoleIds()
	{
		return roleIds;
	}

	/**
	 * @param roleIds
	 *            the roleIds to set
	 */
	public void setRoleIds(String[] roleIds)
	{
		this.roleIds = roleIds;
	}

	/**
	 * @return the lockStatus
	 */
	public String getLockStatus()
	{
		return lockStatus;
	}

	/**
	 * @param lockStatus
	 *            the lockStatus to set
	 */
	public void setLockStatus(String lockStatus)
	{
		this.lockStatus = lockStatus;
	}

	/**
	 * @return the telephone
	 */
	public String getTelephone()
	{
		return telephone;
	}

	/**
	 * @param telephone
	 *            the telephone to set
	 */
	public void setTelephone(String telephone)
	{
		this.telephone = telephone;
	}

	public Date getCreateAt()
	{
		return createAt;
	}

	public void setCreateAt(Date createAt)
	{
		this.createAt = createAt;
	}

}
